package com.coocaa.ops.admin.v1.upload.service;

import com.coocaa.ops.admin.v1.upload.model.UploadConfig;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * @author tangminghong
 * @date 2020-06-18
 */
public interface IUploadService {

    /**
     * 上传图片
     *
     * @param request
     * @return
     */
    Map<String, Object> uploadImage(HttpServletRequest request);

    /**
     * 上传zip
     *
     * @param request
     * @return
     */
    Map<String, Object> uploadZip(HttpServletRequest request, UploadConfig uploadConfig);

    /**
     * 上传apk
     *
     * @param request
     * @return
     */
    Map<String, Object> uploadApk(HttpServletRequest request);
}
